// 寄生式继承

function createPerson(origin) {
    var clone = Object.create(origin)
    clone.sayGood = function() {
        console.log('ddd');
    }
    return clone
}